package com.dys.service;

import com.dys.pojo.Player;

import java.util.List;

/**
 * @className: com.dys.service.PlayerService
 * @description: com.dys.service
 * @author: pine cone
 * @version: v1.0.0
 * @createTime: 2024/10/30 23:14
 */
public interface PlayerService {
    /**
     * 添加用户信息
     *
     * @param player 用户资料
     * @return 受影响行数
     */
    int addPlayer(Player player);

    /**
     * 获取所有用户信息
     *
     * @return 用户信息
     */
    List<Player> getPlayers();
}
